package com.dylan.equipment.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.dylan.equipment.entity.User;

@Repository
public interface IUserDao {

	public User login(User user);

	public List<User> findByParams(Map<String, Object> params);

	public int count(User user);

	public void delete(int id);

	public void add(User user);

	public void update(User user);

	public User loadById(int id);

	public List<User> existUserByDeptId(int deptId);
}
